package com.yanqu.road.entity.activity.climbtower;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;

import java.math.BigInteger;

@FieldTypeAnnotation(tableName = "t_u_climb_tower_top_climb_record", autoSave = true)
public class UserClimbTowerTopClimbRecord extends DataObject {
    @FieldTypeAnnotation(update = true, desc = "日志ID")
    private String recordId;
    @FieldTypeAnnotation(select = true, isIndex = true, desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(select = true, isIndex = true, desc = "玩家ID")
    private long userId;
    @FieldTypeAnnotation(desc = "敌对玩家ID")
    private long enemyUserId;
    @FieldTypeAnnotation(desc = "敌对玩家基础数据")
    private UserBaseInfo enemyBaseInfo;
    @FieldTypeAnnotation(desc = "敌对能力值/实力")
    private BigInteger enemyAbility = BigInteger.ZERO;
    @FieldTypeAnnotation(desc = "原层数")
    private int oldCellNum;
    @FieldTypeAnnotation(desc = "变化后的层数")
    private int newCellNum;
    @FieldTypeAnnotation(desc = "能力值/实力")
    private BigInteger ability = BigInteger.ZERO;
    @FieldTypeAnnotation(orderDESC = true, desc = "时间")
    private long recordTime;

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getEnemyUserId() {
        return enemyUserId;
    }

    public void setEnemyUserId(long enemyUserId) {
        this.enemyUserId = enemyUserId;
    }

    public UserBaseInfo getEnemyBaseInfo() {
        return enemyBaseInfo;
    }

    public void setEnemyBaseInfo(UserBaseInfo enemyBaseInfo) {
        this.enemyBaseInfo = enemyBaseInfo;
    }

    public BigInteger getEnemyAbility() {
        return enemyAbility;
    }

    public void setEnemyAbility(BigInteger enemyAbility) {
        this.enemyAbility = enemyAbility;
    }

    public int getOldCellNum() {
        return oldCellNum;
    }

    public void setOldCellNum(int oldCellNum) {
        this.oldCellNum = oldCellNum;
    }

    public int getNewCellNum() {
        return newCellNum;
    }

    public void setNewCellNum(int newCellNum) {
        this.newCellNum = newCellNum;
    }

    public BigInteger getAbility() {
        return ability;
    }

    public void setAbility(BigInteger ability) {
        this.ability = ability;
    }

    public long getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(long recordTime) {
        this.recordTime = recordTime;
    }
}
